package com.lcy.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lcy.reggie.common.Result;
import com.lcy.reggie.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
* @author ChunBaBa_
* @description 针对表【employee(员工信息)】的数据库操作Service
* @createDate 2023-01-16 14:44:31
*/
public interface EmployeeService extends IService<Employee> {

    Result<String> saveEmployee(HttpServletRequest request, Employee employee);

    Result<Employee> login(HttpServletRequest request, Employee employee);

    Result<Page> page(HttpServletRequest request, Integer page, Integer pageSize, String name);

    Result<String> update(HttpServletRequest request, Employee employee);
}
